<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
      layout:decorator="manage/manage_layout_sub">

<head>
    <title>功能管理-查看</title>
</head>

<body class="manage manage-func">

<div layout:fragment="content">
    <div class="container">
        <form class="form-horizontal" onsubmit="return false;">
            <div class="form-group">
                <label for="funcId" class="col-sm-4 control-label">功能ID：</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" id="funcId" name="funcId" th:value="*{funcInfo.funcId}"
                           Readonly>
                </div>
            </div>
            <div class="form-group">
                <label for="funcName" class="col-sm-4 control-label">功能名称：</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" id="funcName" name="funcName"
                           th:value="*{funcInfo.funcName}" Readonly>
                </div>
            </div>
            <div class="form-group">
                <label for="parentName" class="col-sm-4 control-label">父节点：</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" id="parentName" name="parentName"
                           th:value="*{funcInfo.parentName}" Readonly>
                </div>
            </div>
            <div class="form-group">
                <label for="funcUrl" class="col-sm-4 control-label">功能地址：</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" id="funcUrl" name="funcUrl" th:value="*{funcInfo.funcUrl}"
                           Readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-4 control-label">状态：</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" th:value="${funcInfo.status == '1' ? '上线' : '下线'}" Readonly>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-4 control-label">是否页面可见：</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" th:value="${funcInfo.visible == '1' ? '可见' : '不可见'}"
                           Readonly>
                </div>
            </div>
            <div class="form-group">
                <label for="funcOrder" class="col-sm-4 control-label">排序编号 ：</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" id="funcOrder" name="funcOrder"
                           th:value="*{funcInfo.funcOrder}" Readonly>
                </div>
            </div>
        </form>
    </div>
</div>

</body>
</html>